package com.xuenci.gulimall.product.feign;/*
 *@author:xec
 *@date:2022/5/3  23:36
 */

import com.xuenci.common.to.es.SkuEsModel;
import com.xuenci.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("gulimall-search")
public interface SearchFeignSerive {
    @PostMapping("/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
